Improvements for Tabulated List mode.
authorChong Yidong <cyd@gnu.org>
Sun, 6 May 2012 08:32:37 +0000 (16:32 +0800)
committerChong Yidong <cyd@gnu.org>
Sun, 6 May 2012 08:32:37 +0000 (16:32 +0800)
commit0db9982f463b60dea916427494512e5f98156791
tree128eb2c035ec29652acd2417cf6324aefee9715c
parentd373ba0d8604ca281928ec58fb82e37e1905a42f
Improvements for Tabulated List mode.

* lisp/emacs-lisp/tabulated-list.el (tabulated-list-format): Accept
additional plist in column descriptors.
(tabulated-list-init-header): Obey it.
(tabulated-list-get-entry): New function.
(tabulated-list-put-tag): Use it.  Use string-width instead of
length.
(tabulated-list--column-number): New function.
(tabulated-list-print): Use it.
(tabulated-list-print-col): New function.  Set
`tabulated-list-column-name' property on each column's text.
(tabulated-list-print-entry): Use it.
(tabulated-list-delete-entry, tabulated-list-set-col): New
functions.
(tabulated-list-sort-column): New command.
etc/NEWS
lisp/ChangeLog
lisp/emacs-lisp/tabulated-list.el